/**
 * 重点人员
 */
module.exports = app => {
  const { Schema, model, getModelName } = app.jax.mongoose
  const modelName = getModelName(__filename)

  const schema = new Schema({
    targetId: { type: String, unique: true },
    idCard: String, // 身份证号
    town: String, // 镇
    name: String, // 姓名
    createTime: Date, // 创建时间
  })

  const Model = model(modelName, schema)

  return Model
}
